package com.iotechn.unimall.data.domain;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * 
 * 
 * @author hct
 * @email 77802226@qq.com
 * @date 2020-03-21 17:27:09
 */

@Data
@TableName("unimall_seckill_sku")
@AllArgsConstructor
@NoArgsConstructor
public class SeckillSkuDO extends  SuperDO{

	/**
	 * 
	 */
		/**
	 * 秒杀的库存数量
	 */
		@TableField("stock_count")
		private Float stockCount;
 		/**
	 * 版本号
	 */@TableField("version")
	    private Integer version;
 		/**
	 * skuid
	 */
		@TableField("sku_id")
		private Long skuId;
	/**
	 * 秒杀id
	 */
	@TableField("seckill_spu_id")
	private Long seckillSpuId;

 		/**
	 * 秒杀价格
	 */
		@TableField("sku_seckill_price")
		private Integer skuSeckillPrice;

	/**
	 *   商品id  大库冗余
	 */
		@TableField("spu_id")
		private Long  spuId;


	 @TableField("sku_title")
	 private String  skuTitle;

	/**
	 *	秒杀销量
	 */
	@TableField("sales_volume")
	private Float salesVolume;

	/**
	 *   条码
	 */
	@TableField("bar_code")
	private String	barCode;

	/**
	 *冻结库存
	 */
	@TableField("free_stock_count")
	private Float freeStockCount;

	/**
	 * sku 限购量
	 */
	@TableField("sku_limit_count")
	private Float skuLimitCount;

}
